package java67_14.score;

import java.util.Scanner;

public class TestScore {

	public static void main(String[] args) {

		Scanner in = new Scanner(System.in);
		Student stu = new Student();
		System.out.println("请输入学生姓名以及三门课成绩:");
		stu.name = in.next();
		stu.db = in.nextFloat();
		stu.html = in.nextFloat();
		stu.java = in.nextFloat();
		stu.selfIntroduction();
		System.out.println(">>>>>>>>>>>>>>>>>>>>开始计算:");
		Jiaowuchu ch = new Jiaowuchu();
		float avg = ch.calcAvg(stu);

		System.out.println(">>>>>>>>>>>>>>>>算完了:");
		stu.selfIntroduction();
		System.out.println("你的平均分是:" + avg);

	}

}
